package com.itheima.service.store;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.store.Company;

import java.util.List;

public interface CompanyService {

    //增
    void add (Company company);
    //删
    void delete(Company company);
    //改
    void update(Company company);
    //查询单个
    Company findById(String id);
    //查询全部数据
    List<Company> findAll();
    //分页查询
    PageInfo findAll(int page , int size);


}
